import request from '@/utils/request'

// 查询电影图片列表
export function listMovieimage(query) {
  return request({
    url: '/cinema/cinema/movieimage/list',
    method: 'get',
    params: query
  })
}

// 查询电影图片详细
export function getMovieimage(id) {
  return request({
    url: '/cinema/cinema/movieimage/' + id,
    method: 'get'
  })
}

// 新增电影图片
export function addMovieimage(data) {
  return request({
    url: '/cinema/cinema/movieimage',
    method: 'post',
    data: data
  })
}

// 修改电影图片
export function updateMovieimage(data) {
  return request({
    url: '/cinema/cinema/movieimage',
    method: 'put',
    data: data
  })
}

// 删除电影图片
export function delMovieimage(id) {
  return request({
    url: '/cinema/cinema/movieimage/' + id,
    method: 'delete'
  })
}

// 导出电影图片
export function exportMovieimage(query) {
  return request({
    url: '/cinema/cinema/movieimage/export',
    method: 'get',
    params: query
  })
}